package  com.zzkj.vo.query
{
	import mx.collections.ArrayCollection;
	
	[Manage]
	[RemoteClass(alias="com.gfa4j.query.QueryInfo")]
    public class QueryInfoVO
    {


        private var _queryObjectName:String;
        private var _listType:String;
        private var _pageStart:int;
        private var _pageSize:int;
        private var _fields:Array;
//        private var _orderByProps:*;


        private var _conjunctionType:String;
//        private var _fieldRef:ArrayCollection;
        private var _entityAlias:String;
//        private var _selectCondition:String;
//        private var _whereCondition:String;


		//QueryInfo
		public static var LISTTYPE_LIST :String = 'list';
		public static var LISTTYPE_PAGE :String = 'page';
		public static var ORDERBY_DESC :String = 'desc';
		public static var ORDERBY_ASC :String = 'asc';
		public static var CONJUNCTIONTYPE_AND :String = 'and';
		public static var CONJUNCTIONTYPE_OR :String = 'or';
		//Field
		public static var CONDITION_EQ :String =  "eq";
    	public static var CONDITION_NEQ :String =  "neq";
	    public static var CONDITION_EQIC :String =  "eqic";
	    public static var CONDITION_LIKE_END :String =  "likee";
	    public static var CONDITION_LIKE_END_IC :String =  "likeeic";
	    public static var CONDITION_LIKE_START :String =  "likes";
	    public static var CONDITION_LIKE_START_IC :String =  "likesic";
	    public static var CONDITION_LIKE_ANYWHERE :String =  "likea";
	    public static var CONDITION_LIKE_ANYWHERE_IC:String =  "likeaic";
	    public static var CONDITION_GT :String =  "gt";
	    public static var CONDITION_GE :String =  "ge";
	    public static var CONDITION_LT :String =  "lt";
	    public static var CONDITION_LE :String = "le";
	    public static var CONDITION_ISNULL :String =  "is null";
	    public static var CONDITION_ISNOTNULL :String =  "is not null";
	    public static var CONDITION_IN :String =  "in";
	    public static var CONDITION_NOT_IN :String =  "not in";
	    public static var CONJUNCTIONTYPE_EXIST :String =  "exist";
	    public static var CONJUNCTIONTYPE_NOT :String =  "not";


        public function QueryInfoVO(){}

       


		public function set conjunctionType(value:String):void{
			this._conjunctionType = value;
		}
		public function get conjunctionType():String{
			return this._conjunctionType;
		}
      
        public function set queryObjectName(value:String):void{
            this._queryObjectName = value;
        }

        public function get queryObjectName():String{
            return this._queryObjectName;
        }


        public function set listType(value:String):void{
            this._listType = value;
        }

        public function get listType():String{
            return this._listType;
        }


        public function set pageStart(value:int):void{
            this._pageStart = value;
        }

        public function get pageStart():int{
            return this._pageStart;
        }


        public function set pageSize(value:int):void{
            this._pageSize = value;
        }

        public function get pageSize():int{
            return this._pageSize;
        }


        public function set fields(value:Array):void{
            this._fields = value;
        }

        public function get fields():Array{
            return this._fields;
        }

//
//        public function set orderByProps(value:*):void{
//            this._orderByProps = value;
//        }
//
//        public function get orderByProps():*{
//            return this._orderByProps;
//        }
//
//
//      
//
//
//        public function set fieldRef(value:ArrayCollection):void{
//            this._fieldRef = value;
//        }
//
//        public function get fieldRef():ArrayCollection{
//            return this._fieldRef;
//        }


        public function set entityAlias(value:String):void{
            this._entityAlias = value;
        }

        public function get entityAlias():String{
            return this._entityAlias;
        }


//        public function set selectCondition(value:String):void{
//            this._selectCondition = value;
//        }
//
//        public function get selectCondition():String{
//            return this._selectCondition;
//        }
//
//
//        public function set whereCondition(value:String):void{
//            this._whereCondition = value;
//        }
//
//        public function get whereCondition():String{
//            return this._whereCondition;
//        }


    }
}